<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="cmcc.charge.*" %>
<%@include file="../checkLoginSession.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<% 
	request.setCharacterEncoding("utf-8");
	String flag = request.getParameter("flag");
	System.out.println("flag = "+flag);
	if(flag!=null&&flag.equals("findv")){
		
		String charge_code = request.getParameter("gmtyp");
		String money = request.getParameter("money");
		System.out.println("charge = "+charge_code);
		System.out.println("monet = "+money);
		if(Charge.changeCharge(charge_code, money)){
			%>
				<br><br><br><br>
				<h2 align="center"> 修改成功</h2>
				<br>
				<h3 align="center">
					<a href="charge.jsp">返回</a>
				</h3>			
			<%
		}else{
			%>
				<br><br><br><br>
				<h2 align="center"> 修改失败</h2>
				<br>
				<h3 align="center">
					<a href="javascript:history.back()">返回</a>
				</h3>			
			<%
		}
		
		
	}
		
%>

